package com.java90.homework.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Jason
 * @since 2019-05-09
 */
@Slf4j
@Controller
public class IndexController {

    @GetMapping("/")
    public String index(){
        log.info("------------------------------->这是首页.");

        return "index";
    }

}
